﻿<Window x:Class="BookmarkManager"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="BookmarkManager" Height="474" Width="676"
        xmlns:My="clr-namespace:Stardust.Core.Controls">
    <Grid Style="{DynamicResource BackgroundStyle}">
        <ListBox Margin="12,76,0,12" Name="ListBox1" HorizontalAlignment="Left" Width="192"
                 Background="Transparent" BorderBrush="Transparent">
            
            <ListBox.ContextMenu>
                <ContextMenu>
                    <MenuItem x:Name="mnu_CreateSection" Click="mnu_CreateSection_Click" Header="Create section" />
                    <MenuItem x:Name="mnu_RemoveSection" Click="mnu_RemoveSection_Click" Header="Remove section" />
                </ContextMenu>
            </ListBox.ContextMenu>
        </ListBox> 
        <ListBox Margin="200,76,12,12" Name="ListBox2" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                 Background="Transparent" BorderBrush="Transparent" >
            <ListBox.ItemsPanel>
                <ItemsPanelTemplate>
                    <WrapPanel />
                </ItemsPanelTemplate>
            </ListBox.ItemsPanel>
            <ListBox.ContextMenu>
                <ContextMenu>
                    <MenuItem x:Name="mnu_RemoveImage" Click="mnu_RemoveImage_Click" Header="Remove this image" />
                </ContextMenu>
            </ListBox.ContextMenu>
        </ListBox>
        
        <My:StardustButton x:Name="AddSection_Button" Width="65" Height="65" Margin="12,5,0,0" Style="{DynamicResource StardustButtonStyle}"
                           Text="Add..." Click="AddSection_Button_Click"
                           Image="Resources\addbookmark.png" VerticalAlignment="Top" HorizontalAlignment="Left"></My:StardustButton>
        
        <My:StardustButton x:Name="RemoveSection_Button" Width="65" Height="65" Style="{DynamicResource StardustButtonStyle}" 
                           Text="Remove" Click="RemoveSection_Button_Click"
                           Image="Resources\remove.png" Margin="80,5,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" />
        <My:StardustButton Height="65" Width="65" HorizontalAlignment="Right" Margin="0,5,12,0" x:Name="RemoveImage_Button" VerticalAlignment="Top"
                           Style="{DynamicResource StardustButtonStyle}" 
                           Text="Remove" Click="RemoveImage_Button_Click"
                           Image="Resources\removeimage.png"/>
    </Grid>
</Window>
